cmake_minimum_required(VERSION 3.15)

project(test_dlsym_linked_so)

add_compile_options("-fvisibility=hidden")

add_library(suba SHARED a.c)
add_library(subb SHARED b.c)
target_link_libraries(subb suba)

add_executable(main main.c)
target_link_libraries(main dl)
